package io.renren.service;

import io.renren.modules.medical.entity.PatientInfoEntity;
import io.renren.modules.medical.service.PatientInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Luo Sheng
 * @school YiBin university
 * @create 2023-06-01 23:05
 */
@Service
public class PatientInfoTestService {
    @Autowired
    private PatientInfoService patientInfoService;
    @Transactional
    public void getPatient (Long id){
        PatientInfoEntity patientInfoEntity = patientInfoService.getById(1L);
        System.out.println(patientInfoEntity);
    }
}
